﻿<UserControl x:Class="MyFinanceManager.PC.ucViewCategoriesTree"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:wpftoolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit" 
			 xmlns:MyFinanceManager_Objects="clr-namespace:MyFinanceManager.Objects"
			  xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
			   xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"    >
	<Grid MinHeight="600">
    	<Grid.RowDefinitions>
    		<RowDefinition Height="40"/>
    		<RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.5*" MinWidth="300" />
            <ColumnDefinition Width="0.5*" MinWidth="300" />
        </Grid.ColumnDefinitions>
         <Label Content="Ausgaben" Grid.Column="1" Grid.Row="0" FontSize="16" Background="{DynamicResource VistaTaskbarOrange}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontWeight="Bold"/>
        <Label Content="Einnahmen" Grid.Column="0" Grid.Row="0" FontSize="16" Background="{DynamicResource VistaTaskbarGreen}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontWeight="Bold" />
      	<TreeView x:Name="tvExpenses" Grid.Column="1" Grid.Row="1" FontSize="16">
      		<TreeView.Background>
      			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
      				<GradientStop Color="#3EFD7D7D" Offset="0.5"/>
      				<GradientStop Color="#3EFDD0D0" Offset="1"/>
      				<GradientStop Color="#3EFDD0D0" Offset="0"/>
      			</LinearGradientBrush>
      		</TreeView.Background>
      	</TreeView>
        <TreeView x:Name="tvEarnings" Grid.Column="0" Grid.Row="1" FontSize="16">
        	<TreeView.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#3E78FF7E" Offset="0.5"/>
        			<GradientStop Color="#3ED3FFD5" Offset="1"/>
        			<GradientStop Color="#3ED3FFD5" Offset="0"/>
        		</LinearGradientBrush>
        	</TreeView.Background>
        </TreeView>
        <Label x:Name="tbExpenses" Grid.Column="1" Grid.Row="2" FontSize="16" Background="{DynamicResource VistaTaskbarOrange}" FontWeight="Bold" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
        <Label x:Name="tbEarnings" Grid.Column="0" Grid.Row="2" FontSize="16" Background="{DynamicResource VistaTaskbarGreen}" FontWeight="Bold" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
        <Label x:Name="tbSaldo" Grid.Column="0" Grid.ColumnSpan="2" Grid.Row="3" FontSize="16" Background="{DynamicResource VistaTaskbarYellow}" FontWeight="Bold" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
    </Grid>
</UserControl>
